//
//  RSCommonSwitchItem.h
//  RenShineDoctor
//
//  Created by 黄强强 on 15/11/6.
//  Copyright © 2015年 杭州岐黄信息技术有限公司. All rights reserved.
//

#import "HQQSettingItem.h"
#import "HQQSettingSwitch.h"

typedef void (^SwitchStatusChangeBlock)(BOOL isOn);

@interface HQQSettingSwitchItem : HQQSettingItem

/** 开关状态 */
@property (nonatomic, assign) BOOL on;

/** switch开关状态改变的回调 */
@property (nonatomic, copy) SwitchStatusChangeBlock switchStatusChangeBlock;

/** switch的类型（已过期，推荐用switchStatusChangeBlock）*/
@property (nonatomic, assign) HQQSettingSwitchType type;

@end
